<!--The content below is only a placeholder and can be replaced.-->
<div>
  <img width="50" alt="Angular Logo"
       src="">
  <div>
    选项：
    <span *ngFor="let item of list"
          class="option"
          [ngClass]="{'selected': selectedService.findOne(item, selectedService.bedroom),
           'option': true}"
          (click)="setSelected({
            type:'bedroom',
            multi:'true',
            data:item
          })">
      {{item | objectValues}}
    </span>
  </div>
  <div>
    已选：
    <span *ngFor="let item of selectedService.bedroom"
          class="option"
          (click)="setSelected({
            type:'bedroom',
            multi:'true',
            data:item
          })">
      {{item | objectValues}}
    </span>
  </div>
</div>

<router-outlet></router-outlet>
